package com.example.examapp.model;

import com.example.examapp.enums.Role;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.lzx.base.common.BaseModel;

/**
 * @version v1.0
 * @package com.example.examapp.model
 * @data 2022/12/4 11:20
 */
@Data
@Getter
@Setter
public class User extends BaseModel {

    private String stuId;

    private String pwd;

    private String userName;

    private String classs;

    private String email;

    private Role role;

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getClasss() {
        return classs;
    }

    public void setClasss(String classs) {
        this.classs = classs;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }
}
